Selecting Objects

Selecting Objects

deselectAll(...)
deselectAll()

Deselects all objects in the whole document.

getSelectedObject(...)
getSelectedObject([nr]) -> string

Returns the name of the selected object. "nr" if given indicates the number of the selected object, e.g. 0 means the first selected object, 1 means the second selected Object and so on.

selectionCount(...)
selectionCount() -> integer

Returns the number of selected objects.

selectObject(...)
selectObject("name")

Selects the object with the given "name".